projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d595f91
)
x86_emulate: Fix FNSTCW/FNSTSW modrm range check.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 26 Feb 2008 14:46:07 +0000
(14:46 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 26 Feb 2008 14:46:07 +0000
(14:46 +0000)
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
xen/arch/x86/x86_emulate.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/x86_emulate.c
b/xen/arch/x86/x86_emulate.c
index fb9f16df1273bc95f27592e05fcdee2317ecba04..d75f49c50413f9fc09729d13a8b64b93aa54e2d0 100644
(file)
--- a/
xen/arch/x86/x86_emulate.c
+++ b/
xen/arch/x86/x86_emulate.c
@@
-2671,7
+2671,7
@@
x86_emulate(
fail_if(ops->load_fpu_ctxt == NULL);
ops->load_fpu_ctxt(ctxt);
fail_if((modrm_reg & 7) != 7);
- fail_if(modrm
_reg
>= 0xc0);
+ fail_if(modrm >= 0xc0);
/* fnstcw m2byte */
ea.bytes = 2;
dst = ea;
@@
-2690,7
+2690,7
@@
x86_emulate(
fail_if(ops->load_fpu_ctxt == NULL);
ops->load_fpu_ctxt(ctxt);
fail_if((modrm_reg & 7) != 7);
- fail_if(modrm
_reg
>= 0xc0);
+ fail_if(modrm >= 0xc0);
/* fnstsw m2byte */
ea.bytes = 2;
dst = ea;